package Model

type Account struct {
	Id       int    `json:"id" gorm:"primaryKey;type: int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID'"`
	Account  string `json:"account" gorm:"type: varchar(255) NOT NULL COMMENT '运营商账号';uniqueIndex:t1"`
	Password string `json:"password" gorm:"type: varchar(255) DEFAULT NULL COMMENT '运营商密码'"`
	Config   string `json:"config" gorm:"type: mediumtext  NOT NULL COMMENT 'SDK配置信息'"`
	Isp      string `json:"isp" gorm:"type: enum('ali','aws') NOT NULL COMMENT '运营商';uniqueIndex:t1"`
}

func (that *Account) TableName() string {
	return "accounts"
}
